<HTML><HEAD><TITLE>RemoteMethod.js</TITLE></HEAD><BODY>
<A NAME="_top_"></A><PRE><A HREF="index.html">Index Files</A> </PRE><HR/>
<H1>File RemoteMethod.js</H1>
 Provides a class that represents a remote method. <P><DL><DT><B>Author:</B></DT><DD>Carlos Eduardo Goncalves</DD></DL></P>
<HR/>
<A HREF=#RemoteMethod>RemoteMethod</A><BR/>
<A HREF=#RemoteMethod.prototype.name>RemoteMethod.prototype.name</A><BR/>
<A HREF=#RemoteMethod.prototype.params>RemoteMethod.prototype.params</A><BR/>
<A HREF=#RemoteMethod.prototype.protocol>RemoteMethod.prototype.protocol</A><BR/>
<A HREF=#RemoteMethod.prototype.onResult>RemoteMethod.prototype.onResult</A><BR/>
<A HREF=#RemoteMethod.prototype.onError>RemoteMethod.prototype.onError</A><BR/>
<A HREF=#RemoteMethod.PROTOCOLS >RemoteMethod.PROTOCOLS </A><BR/>
<A HREF=#RemoteMethod.prototype.addParam>RemoteMethod.prototype.addParam</A><BR/>
<A HREF=#RemoteMethod.prototype.clearParams>RemoteMethod.prototype.clearParams</A><BR/>
<A HREF=#RemoteMethod.prototype.getName>RemoteMethod.prototype.getName</A><BR/>
<HR/>
<A NAME=RemoteMethod></A>
<H2>Constructor RemoteMethod</H2><PRE>function RemoteMethod()</PRE>  <p>Remote method constructor.</p><P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.name></A>
<H2> Attribute RemoteMethod.prototype.name</H2><PRE>RemoteMethod.prototype.name</PRE> <p>Method name. Can be a <code>String</code> or a <code>QName</code>.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.params></A>
<H2> Attribute RemoteMethod.prototype.params</H2><PRE>RemoteMethod.prototype.params</PRE> <p>Method parameters.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.protocol></A>
<H2> Attribute RemoteMethod.prototype.protocol</H2><PRE>RemoteMethod.prototype.protocol</PRE> <p>Method protocol.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.onResult></A>
<H2> Attribute RemoteMethod.prototype.onResult</H2><PRE>RemoteMethod.prototype.onResult</PRE> <p>Envent handler called to process the method result. Receives as parameter the parsed result object.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.onError></A>
<H2> Attribute RemoteMethod.prototype.onError</H2><PRE>RemoteMethod.prototype.onError</PRE> <p>Envent handler called if a fault occur on remote method. Receives as parameter the parsed fault object.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.PROTOCOLS ></A>
<H2> Attribute RemoteMethod.PROTOCOLS </H2><PRE>RemoteMethod.PROTOCOLS </PRE> <p>Supported protocols.</p> <P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.addParam></A>
<H2> Method RemoteMethod.prototype.addParam</H2><PRE>RemoteMethod.prototype.addParam = function(data)</PRE> <p>Add a parameter to method parmeters.</p> <P><TABLE WIDTH="90%" BORDER=1><TR BGCOLOR=#BDB3C4><TD><B>Parameter</B></TD><TD><B>Description</B></TD></TR><TR><TD><I>data</I></TD><TD>New parameter to include.		</TD></TR></TABLE></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.clearParams></A>
<H2> Method RemoteMethod.prototype.clearParams</H2><PRE>RemoteMethod.prototype.clearParams = function()</PRE> <p>Clear method parameters.</p><P></P><BR/><BR/>
<A NAME=RemoteMethod.prototype.getName></A>
<H2> Method RemoteMethod.prototype.getName</H2><PRE>RemoteMethod.prototype.getName = function()</PRE> <p>Recover the method name from a simple <code>String</code> or a <code>QName</code>.</p> <P><DL><DT><B>Returns:</B></DT><DD>A <code>String</code> with the method name.</DD></DL></P><BR/><BR/>
</BODY></HTML>
